Skip to content

Add skipped event listener for allure#2369

Merged
DavertMik merged 2 commits intocodeceptjs:masterfrom
KMKoushik:allure-skip
May 3, 2020
Merged

Add skipped event listener for allure#2369
DavertMik merged 2 commits intocodeceptjs:masterfrom
KMKoushik:allure-skip

Conversation

@KMKoushik
Copy link
Collaborator

Motivation/Description of the PR

Applicable plugins:

  • allure
  • autoDelay
  • autoLogin
  • customLocator
  • pauseOnFail
  • puppeteerCoverage
  • retryFailedStep
  • screenshotOnFail
  • selenoid
  • stepByStepReport
  • wdio

Type of change

  • 🔥 Breaking changes
  • 🚀 New functionality
  • 🐛 Bug fix
  • 📋 Documentation changes/updates
  • ♨️ Hot fix
  • 🔨 Markdown files fix - not related to source code
  • 💅 Polish code

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@KMKoushik KMKoushik requested a review from DavertMik April 29, 2020 17:04
@KMKoushik KMKoushik requested a review from DavertMik May 1, 2020 15:22
@DavertMik DavertMik merged commit 1f59a13 into codeceptjs:master May 3, 2020
@Georgegriff
Copy link
Collaborator

Georgegriff commented May 13, 2020

Im seeing flakey unit tests due to this change in allure_test.js

It appears that two test reports are now generated on failure:
image
Depending on which hook gets called first, this new one, or existing one in allure.js then the tests fail

@DavertMik @koushikmohan1996

It could be that this PR fixes the same issue, perhaps in a better way. If so we should remove the existing code that catches errors.

The downside to this new fix is it appears the original error is lost? which means debugging why a test failed will be very hard

@Georgegriff
Copy link
Collaborator

Georgegriff commented May 13, 2020

Update: Looks like the two changes work nicely together, however not with workers :/
image
Issue raised around workers: #2391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants